package cn.wolfcode.cloud.shop.web.feign.hystrix;

import cn.wolfcode.cloud.shop.domain.Goods;
import cn.wolfcode.cloud.shop.web.feign.GoodsFeignApi;
import cn.wolfcode.cloud.shop.resp.Result;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Set;

/**
 * @author Administrator
 */
@Component
public class GoodsFeignHystrix implements GoodsFeignApi {
    @Override
    public Result<List<Goods>> queryByIdSet(Set<Long> idSet) {
        //服务降级直接返回null
        return null;
    }
}
